
<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        <input type="hidden" name="id" class="layui-input" value="{$row.id|default=''}">
        <div class="layui-form-item">
            <label class="layui-form-label">退款单号</label>
            <div class="layui-input-block">
                <input type="text" name="order_id" class="layui-input" readonly placeholder="请输入退款单号" value="{$row.order_id|default=''}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">原始订单号</label>
            <div class="layui-input-block">
                <input type="text" name="old_order_id" class="layui-input" readonly placeholder="请输入原始订单号" value="{$row.old_order_id|default=''}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">退款金额</label>
            <div class="layui-input-block">
                <input type="text" name="refund_price" class="layui-input" lay-verify="required" placeholder="请输入退款金额" value="{$row.refund_price|default=''}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">退款审核</label>
            <div class="layui-input-block">
                <input type="radio" name="status" value="1" title="同意退款"  lay-filter="demo-radio-filter" {if $row.status eq 1}checked{/if} >
                <input type="radio" name="status" value="0" title="不同意退款" lay-filter="demo-radio-filter" {if $row.status eq 0}checked{/if}>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">不退款原因</label>
            <div class="layui-input-block">
                <input type="text" name="refuse_reason" class="layui-input"  placeholder="请输入不退款原因" value="{$row.refuse_reason|default=''}">
            </div>
        </div>

        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注信息</label>
            <div class="layui-input-block">
                <textarea name="remark" class="layui-textarea" placeholder="请输入备注信息">{$row.remark|default=''}</textarea>
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit name="submit" value="1">确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>
<script>
    layui.use('form',function(){
        var form = layui.form;
        //刷新界面 所有元素
        form.render();
    });
</script>